poly_line_flip.cpp